﻿using System.Collections.Generic;
using SIG.Model.Store;
using System.Threading;

namespace SIG.Service
{
    public interface IGoodsCategoryService : IEntityService<GoodsCategory>
    {
        IEnumerable<GoodsCategory> RecommendCategories(CancellationToken cancellationToken = default(CancellationToken));
        List<GoodsCategory> GetPagedElements(int pageIndex, int pageSize, string keyword, out int totalCount);
        List<GoodsCategory> GetPagedElements(int pageIndex, int pageSize, out int totalCount);
    }
}
